package com.example.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author luqi
 * @Date 2025 10 21 09 10
 **/

public class Poem {
    private Integer id;
    private String author;
    private String source;
    private String quote;

    public Poem(Integer id, String author, String source, String quote) {
        this.id = id;
        this.author = author;
        this.source = source;
        this.quote = quote;
    }

    public Poem() {
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public void setQuote(String quote) {
        this.quote = quote;
    }

    public Integer getId() {
        return id;
    }

    public String getAuthor() {
        return author;
    }

    public String getSource() {
        return source;
    }

    public String getQuote() {
        return quote;
    }
}
